package com.wingsofts.myapplication

import android.content.Intent
import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import kotlinx.android.synthetic.main.activity_home.*

class HomeActivity : AppCompatActivity() {
    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_home)
        weatherBtn.setOnClickListener { startActivity(Intent(this, WeatherActivity::class.java)) }
        userCenterBtn.setOnClickListener { startActivity(Intent(this, UserCenterActivity::class.java)) }
    }
}